package com.imooc.repository;

import com.imooc.dataobject.OrderDetail;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface OrderDetailRepository extends JpaRepository<OrderDetail, String> {
    //根据订单的id查询订单-
    List<OrderDetail> findByOrderId(String OrderId);

}
